<template>
	<view>
		<view class="list">
			<view  class="item u-flex-col "  style="margin-top: 14rpx;" v-for="(item,index) in list">
				<!--<text>({{item.goods_name}})</text>-->
				<view class="u-flex u-row-between u-col-center"  style="margin-top: 8rpx;">
					<text>{{$u.timeFormat(item.createtime, 'yyyy年mm月dd日')}}</text>
					
					<text>入池金额：￥{{item.enter_amount}}</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id:0,
				list:[]
			}
		},
		onLoad(e) {
			if(!e){
				uni.navigateBack()
			}
			this.id =e.id
			this.$u.get('shop/api.index/Income',{id:this.id})
			.then((res) => {
				this.list =res.data
			}).catch(res=>{
				
			})
		},	
		methods: {
			
		}
	}
</script>

<style lang="scss">
.list{
	background-color: #fff;
	.item{
		padding: 20rpx;
	}
}
</style>
